﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace telefonia
{
    public partial class CelularesView : Form
    {
        public CelularesView()
        {
            InitializeComponent();
        }

        private void CelularesView_Load(object sender, EventArgs e)
        {
            this.dtCelulares.DataSource = DataBase.GetCelulares();
        }

        private void bAgregar_Click(object sender, EventArgs e)
        {
            AddCelular cel = new AddCelular();
            cel.ShowDialog();
            this.dtCelulares.DataSource = DataBase.GetCelulares();
        }
    }
}
